<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>备份列表</title>
    <hdjs />
    <js file= '__PUBLIC__/js/mod.base.js,__PUBLIC__/js/mod.backup.js' />
    <css file= '__PUBLIC__/css/mod.base.css' />
</head>
<body>

	<script type="text/javascript" src="http://localhost/hdphp/hdcms/Static/cal/lhgcalendar.min.js"></script>
	
	<div class="hd-menu-list">
            <ul>
                <li>
                    <a href="{:U('Backup/add')}">备份数据库</a>
                </li>
                <li class="active">
                    <a href="javascript:;">备份列表</a>
                </li>
            </ul>
        </div>
	
	<form action = '{:U("Ad/beachdelete")}' method='post' name="operationForm">

		<table class="hd-table hd-table-list hd-form">
			<thead>
				<tr>
					
					<td class="hd-w130">备份目录</td>
					<td >备份时间</td>
					<td >大小</td>
					
					<td class="hd-w120">操作</td>
				</tr>
			</thead>
			<if condition = '$data'>
				<foreach name='data' item='v'>
					<tr>
						<td >
						{$v.name}	
						</td>
						<td >
							{$v.filemtime|date='Y-m-d H:i:s',###}	
						</td>
						<td >
							{$v.size|get_size}	
						</td>
						<td class="hd-w120">
							
							<a href="{:U('recover',array('dir'=>$v['name']))}">还原</a>

							|

							<a href="javascript:;" onclick="del_modal('{:U('del',array('dir'=>$v['name']))}')">删除</a>
						</td>
					</tr>
				</foreach>
				<tr>
			
				</tr>
			<else />
			<tr>
				<td colspan="4">没有找到符合的记录</td>
			</tr>
			</if>

		</table>
		<div class="hd-page"></div>
	
		

	</form>
	
</body>
</html>